<template>
  <q-toolbar slot="header">
    <q-btn flat label="取消" @click="$emit('cancel')"/>
    <q-toolbar-title>
      <div style="text-align: center;width: 100%">
        {{title}}
      </div>
    </q-toolbar-title>
    <q-btn flat label="确定" @click="$emit('confirm')"/>
  </q-toolbar>
</template>

<script>
export default {
  name: 'xfilterheader',
  props: {
    title: { default: '查询条件' }
  }
}
</script>

<style scoped>

</style>
